package com.ansuenjob.jsonBuilder;

import java.util.ArrayList;
import java.util.List;

import org.json.JSONArray;
import org.json.JSONException;

import com.ansuenjob.vo.JobResumeLookVO;


public class ResumeLookVOFunctions {
	public static List<JobResumeLookVO> getResumeLookVos(JSONArray jsonArray) throws JSONException {
		ResumeLookVOBuilder builder = new ResumeLookVOBuilder();
		List<JobResumeLookVO> jobResumeLookVOst = new ArrayList<JobResumeLookVO>();
		for (int i = 0; i < jsonArray.length(); i++) {
			jobResumeLookVOst.add(builder.buildJson(jsonArray.getJSONObject(i)));
		}
		return jobResumeLookVOst;
	}
}
